import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import Vant from './node_modules/vant/lib/vant'
import dayjs from 'dayjs'
import {
	showToast,
	showTip,
	copyModal
} from '@/utils/common';
Vue.prototype.$showToast = showToast
Vue.prototype.$showTip = showTip
Vue.prototype.$copyModal = copyModal
Vue.use(plugins)
Vue.use(Vant)

Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.dayjs = dayjs
App.mpType = 'app'

const app = new Vue({
	...App
})

app.$mount()
